import '../ui/login_page/login_binding.dart';
import '../ui/login_page/login_page.dart';

import '../ui/home/home_binding.dart';
import '../ui/home/home_page.dart';

import '../ui/splash_page/splash_binding.dart';
import '../ui/splash_page/splash_page.dart';

import 'package:get/get.dart';

abstract class Routes {
  ///入口模块
  static const String splashPage = '/splash';

  ///登录模块
  static const String loginPage = '/login';

  ///主页面
  static const String mainPage = '/mainPage';

  //
  static const String homePage = '/home';


  static final routePage = [

    GetPage(
        name: splashPage,
        page: () => const SplashPage(),
        binding: SplashBinding()),

    GetPage(
        name: homePage,
        page: () => const HomePage(),
        binding: HomeBinding()),

    GetPage(
        name: loginPage,
        page: () => const LoginPage(),
        binding: LoginBinding()),

  ];
}
